package com.example.uCenter.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.uCenter.user.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Mapper 接口
 *
 * @author xxs
 * @since 2022-08-27 08:20:38
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("SELECT max(user_id) FROM user")
    int selectMaxId();
}
